﻿@using KRM.Core
@model KRM.Core.tblPersonal
<div class="panel panel-default">
    <div class="panel-heading">
        <h3 class="panel-title"><i class="icon-star" style="color: orange;" ></i> Add Relationship</h3>
    </div>
    <div class="panel-body">
        <div class="row">
            <div class="col-md-12">
                @Html.Action("AddNextOfKin","NextOfKin",@Model)
                                          
            </div> </div>
    </div>
    <ul class="list-group" >
        <li class="list-group-item">
            <h4 class=""><i class="icon-group"style="color: #4b8df8;"></i>List Relationship</h4>
   
        </li>
        <li class="list-group-item" id="ListNexOfKinDetail" >
            <div id="msg-frNexOfKinDetail"></div>
            @foreach(var item in @Model.tblNextOfKins)
            {
                @Html.Action("NextOfKinDetail","NextOfKin",item)
            }
        </li>
        </ul>

</div>



